import React from 'react';
import { Button, Layout } from 'antd';


const { Sider, Content } = Layout;

const UploadHeader = ({styleParams,selectPic}) => {
    const {headerHeight,sortableListWidth} = styleParams || {headerHeight:100,sortableListWidth:125};
    console.log(headerHeight,sortableListWidth);
    // console.log(selectPic());
    return (
         <div style={{display:"flex",width:"100%"}}>
            <div style={{width:sortableListWidth,textAlign:"center"}}>
                <Button type="primary" onClick={()=>{selectPic()}} style={{position:"relative"}}>上传图片</Button>
            </div>
            <div style={{textAlign:"center",flexGrow:1}}>
                <Button type="primary">分析</Button>
            </div>
            
                
            
            
        </div>
    )
}

export default UploadHeader;